﻿<%@ Page Title="" Language="C#" MasterPageFile="~/SiteAdministrador.Master" AutoEventWireup="true" CodeBehind="frmclientenatural.aspx.cs" Inherits="proyectoferreteria.frmclientenatural" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <style type="text/css">
        .style50
        {
            width: 169px;
        }
        .style51
        {
            width: 372px;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <table style="width:100%;">
        <tr>
            <td class="style50">
                &nbsp;</td>
            <td class="style51">
                <asp:TextBox ID="txbidcliente" runat="server" Enabled="False" Height="25px" 
                    Visible="False" Width="185px"></asp:TextBox>
            </td>
            <td>
                &nbsp;</td>
        </tr>
        <tr>
            <td class="style50">
                <asp:Label ID="Label18" runat="server" ForeColor="#CC3300" Text="Nit"></asp:Label>
            </td>
            <td class="style51">
                <asp:TextBox ID="txbnit" runat="server" Height="25px" Width="185px"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" 
                    ControlToValidate="txbnit" ErrorMessage="*" ForeColor="#FF3300"></asp:RequiredFieldValidator>
                <asp:CompareValidator ID="CompareValidator1" runat="server" 
                    ControlToValidate="txbnit" ErrorMessage="CompareValidator" ForeColor="#FF3300" 
                    Operator="DataTypeCheck" Type="Integer">(valor entero)</asp:CompareValidator>
            </td>
            <td>
                &nbsp;</td>
        </tr>
        <tr>
            <td class="style50">
                <asp:Label ID="Label21" runat="server" ForeColor="#CC3300" 
                    style="text-align: left" Text="C.I."></asp:Label>
            </td>
            <td class="style51">
                <asp:TextBox ID="txbdocIdent" runat="server" Height="25px" Width="185px"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator12" runat="server" 
                    ControlToValidate="txbdocIdent" ErrorMessage="*" ForeColor="#FF3300"></asp:RequiredFieldValidator>
            </td>
            <td>
                &nbsp;</td>
        </tr>
        <tr>
            <td class="style50">
                <asp:Label ID="Label13" runat="server" ForeColor="#CC3300" Text="Nombre"></asp:Label>
            </td>
            <td class="style51">
                <asp:TextBox ID="txbnombre_cliente" runat="server" Height="25px" Width="185px"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator6" runat="server" 
                    ControlToValidate="txbnombre_cliente" ErrorMessage="*" ForeColor="#FF3300"></asp:RequiredFieldValidator>
            </td>
            <td>
                &nbsp;</td>
        </tr>
        <tr>
            <td class="style50">
                <asp:Label ID="Label10" runat="server" ForeColor="#CC3300" Text="Ap. paterno"></asp:Label>
            </td>
            <td class="style51">
                <asp:TextBox ID="txbapp" runat="server" Height="25px" Width="185px"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator7" runat="server" 
                    ControlToValidate="txbapp" ErrorMessage="*" ForeColor="#FF3300"></asp:RequiredFieldValidator>
            </td>
            <td>
                &nbsp;</td>
        </tr>
        <tr>
            <td class="style50">
                <asp:Label ID="Label22" runat="server" ForeColor="#CC3300" Text="Ap. materno"></asp:Label>
            </td>
            <td class="style51">
                <asp:TextBox ID="txbapm" runat="server" Height="25px" Width="185px"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator8" runat="server" 
                    ControlToValidate="txbapm" ErrorMessage="*" ForeColor="#FF3300"></asp:RequiredFieldValidator>
            </td>
            <td>
                &nbsp;</td>
        </tr>
        <tr>
            <td class="style50">
                <asp:Label ID="Label14" runat="server" ForeColor="#CC3300" Text="Direccion"></asp:Label>
            </td>
            <td class="style51">
                <asp:TextBox ID="txbdireccion" runat="server" Height="25px" Width="185px"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator9" runat="server" 
                    ControlToValidate="txbdireccion" ErrorMessage="*" ForeColor="#FF3300"></asp:RequiredFieldValidator>
            </td>
            <td>
                &nbsp;</td>
        </tr>
        <tr>
            <td class="style50">
                <asp:Label ID="Label15" runat="server" ForeColor="#CC3300" Text="Telefono"></asp:Label>
            </td>
            <td class="style51">
                <asp:TextBox ID="txbtelefono" runat="server" Height="25px" Width="185px"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator10" runat="server" 
                    ControlToValidate="txbtelefono" ErrorMessage="*" ForeColor="#FF3300"></asp:RequiredFieldValidator>
            </td>
            <td>
                &nbsp;</td>
        </tr>
        <tr>
            <td class="style50">
                <asp:Label ID="Label16" runat="server" ForeColor="#CC3300" Text="Celular"></asp:Label>
            </td>
            <td class="style51">
                <asp:TextBox ID="txbcelular" runat="server" Height="25px" Width="185px"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" 
                    ControlToValidate="txbcelular" ErrorMessage="*" ForeColor="#FF3300"></asp:RequiredFieldValidator>
                <asp:CompareValidator ID="CompareValidator3" runat="server" 
                    ControlToValidate="txbcelular" Display="Dynamic" 
                    ErrorMessage="CompareValidator" ForeColor="#FF3300" Operator="DataTypeCheck" 
                    Type="Integer">(valor entero)</asp:CompareValidator>
            </td>
            <td>
                &nbsp;</td>
        </tr>
        <tr>
            <td class="style50">
                <asp:Label ID="Label23" runat="server" ForeColor="#CC3300" Text="Rubro"></asp:Label>
            </td>
            <td class="style51">
                <asp:DropDownList ID="cbrubro" runat="server" Height="28px" Width="185px">
                </asp:DropDownList>
            </td>
            <td>
                &nbsp;</td>
        </tr>
        <tr>
            <td class="style50">
                <asp:Label ID="Label12" runat="server" ForeColor="#CC3300" 
                    Text="Fecha nacimiento"></asp:Label>
            </td>
            <td class="style51">
                <asp:TextBox ID="txbfecha_nacimiento" runat="server" Height="25px" 
                    Width="185px"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator11" runat="server" 
                    ControlToValidate="txbfecha_nacimiento" Display="Dynamic" ErrorMessage="*" 
                    ForeColor="#FF3300"></asp:RequiredFieldValidator>
                <asp:CompareValidator ID="CompareValidator2" runat="server" 
                    ControlToValidate="txbfecha_nacimiento" Display="Dynamic" 
                    ErrorMessage="(formato fecha)" ForeColor="#FF3300" Operator="DataTypeCheck" 
                    Type="Date"></asp:CompareValidator>
                <asp:ImageButton ID="ImageButton1" runat="server" CausesValidation="False" 
                    Height="38px" ImageUrl="~/imagenes/calendario.jpg" onclick="ImageButton1_Click" 
                    Width="42px" />
            </td>
            <td>
                &nbsp;</td>
        </tr>
        <tr>
            <td class="style50">
                <asp:Label ID="Label19" runat="server" ForeColor="#FF0066"></asp:Label>
            </td>
            <td class="style51">
                <asp:Calendar ID="dpFechanacimiento" runat="server" BackColor="#FFFFCC" 
                    BorderColor="#FFCC66" BorderWidth="1px" DayNameFormat="Shortest" 
                    Font-Names="Verdana" Font-Size="8pt" ForeColor="#663399" Height="67px" 
                    onselectionchanged="dpFechanacimiento_SelectionChanged" ShowGridLines="True" 
                    Visible="False" Width="98px">
                    <DayHeaderStyle BackColor="#FFCC66" Font-Bold="True" Height="1px" />
                    <NextPrevStyle Font-Size="9pt" ForeColor="#FFFFCC" />
                    <OtherMonthDayStyle ForeColor="#CC9966" />
                    <SelectedDayStyle BackColor="#CCCCFF" Font-Bold="True" />
                    <SelectorStyle BackColor="#FFCC66" />
                    <TitleStyle BackColor="#990000" Font-Bold="True" Font-Size="9pt" 
                        ForeColor="#FFFFCC" />
                    <TodayDayStyle BackColor="#FFCC66" ForeColor="White" />
                </asp:Calendar>
            </td>
            <td>
                &nbsp;</td>
        </tr>
        <tr>
            <td class="style50">
                &nbsp;</td>
            <td colspan="2">
                <asp:Button ID="btnregistrar" runat="server" Height="36px" Text="Registrar" 
                    Width="88px" onclick="btnregistrar_Click" />
                <asp:Button ID="btnmodificar" runat="server" Height="36px" Text="Modificar" 
                    Width="88px" onclick="btnmodificar_Click" />
                <asp:Button ID="btnimprimir" runat="server" Height="36px" Text="Imprimir" 
                    Width="88px" onclick="btnimprimir_Click" />
            </td>
        </tr>
        <tr>
            <td class="style50">
                &nbsp;</td>
            <td class="style51">
                &nbsp;</td>
            <td>
                &nbsp;</td>
        </tr>
        <tr>
            <td class="style50">
                &nbsp;</td>
            <td class="style51">
                &nbsp;</td>
            <td>
                &nbsp;</td>
        </tr>
    </table>
</asp:Content>
